package com.example.gradu.graduationproject.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * (Comment)实体类
 *
 * @author makejava
 * @since 2025-03-09 21:19:41
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Comment implements Serializable {
    private static final long serialVersionUID = 183727969607194323L;
    private Integer commentid;
    private Integer blogid;
    private Integer useridComment;
    private String usernameComment;
    private Integer parentid;
    private String content;
    private Integer isDeletedComment;
    private List<Comment> children = new ArrayList<>();
}


